package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {
    //批量插入口味数据
    void insertBatch(List<DishFlavor> flavorsList);

//    删除菜品口味信息
    void deleteByDishIds(List<Long> ids);

    //根据菜品id查询对应的口味
    List<DishFlavor> getByDishId(Long id);
}
